package tmproject.hlhj.fhp.tmvote.utils

import com.bumptech.glide.Priority
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.request.RequestOptions

/**
 * Created by Never Fear   on 2018\8\13 0013.
Never More....
 */
object GlideUtils {
    fun loadOption(): RequestOptions {
       return RequestOptions()
                .diskCacheStrategy(DiskCacheStrategy.ALL)
                .priority(Priority.IMMEDIATE)
    }
}